﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="CheckOutList.aspx.cs" Inherits="lcs.Web.Outstorage.CheckOutList" EnableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/JsTools.js" type="text/javascript"></script>

     <script type="text/javascript">

//         var win1;
//         function f_open(id) {
//             var ul = 'ShowCheckDetail.aspx?id=' + id;
//             mydialog = $.ligerDialog.open({ url: ul, height: 500, isResize: true, width: 900, showMax: true, showToggle: true, modal: true, isResize: true, slide: true, title: '操作', onClose: function () { alert('asdf'); } });

//             //m.setUrl('dialogUrl.htm');          

//         }

         function OpenPop(val, w, h) {
             if (true == window.showModalDialog(val, window.self, "dialogwidth=" + w + ";dialogheight=" + h + ";")) {
                 __doPostBack('btn_reload', 'btn_reload_Click');
             }
//             if (true == window.showModalDialog(val, window.self, "dialogwidth=" + w + ";dialogheight=" + h + ";")) {
//                 __doPostBack('btn_reload', 'btn_reload_Click');
//             }

             //window.open(val,'newwindow',"height="+h+",width="+w+",toolbar=yes,scrollbars=yes");
         }
       
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="">
</div>
<div style=" ">
    <asp:GridView ID="GridView1" runat="server" Width="100%" 
        AutoGenerateColumns="False" onrowcommand="GridView1_RowCommand">
        <Columns>
            <asp:TemplateField HeaderText="选择" Visible="False">
                 <HeaderTemplate>
                          <input id="cbo_checkAll" type="checkbox" onclick="checkall(this)" />全选
                   </HeaderTemplate>
                 <ItemTemplate>
                     <asp:CheckBox ID="cbo_check" runat="server" />
                 </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <asp:LinkButton ID="lbn_check" runat="server" 
                        CommandArgument='<%# Bind("proid") %>' CommandName="check" >审核</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="proid" HeaderText="项目编号" />
            <asp:BoundField DataField="projectname" HeaderText="项目名称" />
        </Columns>
    </asp:GridView>
&nbsp;</div>
<div style="">
    <asp:Button ID="btn_OK" runat="server" Text="审核通过" Visible="False" />&nbsp;&nbsp; 
    <asp:Button ID="btn_No"
        runat="server" Text="审核未通过" Visible="False" />
    <asp:Button ID="btn_reload" runat="server" onclick="btn_reload_Click" 
        Visible="False" />
</div>
</asp:Content>
